package gui;

import javax.swing.JPanel;
import java.awt.Dimension;

import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JLabel;
import java.awt.Font;
import javax.swing.border.LineBorder;
import java.awt.Color;

public class VnVideoMini extends JPanel {
	private JButton btnVideo;
	JLabel lblTitulo;
	JLabel lblAutor;
	int vID;
	int lID = -1;
	
	public VnVideoMini() {
		setPreferredSize(new Dimension(175, 85));
		setBorder(new LineBorder(new Color(0, 0, 0)));
		setSize(new Dimension(100, 100));
		
		btnVideo = new JButton(new ImageIcon(Cabecera.class.getResource("/img/video.png")));
		btnVideo.setBorderPainted(false);
		btnVideo.setBorder(null);
		add(btnVideo);
		
		lblTitulo = new JLabel("titulo");
		lblTitulo.setFont(new Font("Tahoma", Font.BOLD, 14));
		add(lblTitulo);
		
		lblAutor = new JLabel("por autor");
		add(lblAutor);
	}

}
